package com.babble.subitem.feign;

import com.babble.subitem.entity.SubjectItem;
import org.springblade.common.constant.CommonConstant;
import org.springblade.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
	value = CommonConstant.BABBLE_SUBITEM_NAME

)
public interface ISubjectItemClient {
	String API_PREFIX = "/babble/subjectitem";

	/**
	 * 添加子项
	 *
	 * @param
	 * @return
	 */
	@PostMapping(API_PREFIX + "/save")
	R save(@RequestBody SubjectItem subjectItem) ;

}
